package com.rsstuan.utils;

public class Key<X,E> {
	
	private X firstKey;
	
	private E secondKey;

	public X getFirstKey() {
		return firstKey;
	}

	public void setFirstKey(X firstKey) {
		this.firstKey = firstKey;
	}

	public E getSecondKey() {
		return secondKey;
	}

	public void setSecondKey(E secondKey) {
		this.secondKey = secondKey;
	}
	
	public String toJSONString() {
		StringBuilder sb = new StringBuilder();
		sb.append("firstKey=" + firstKey.toString());
		sb.append(" secondKey=" + secondKey.toString());
		return sb.toString();
	}

}
